compiler=g++
code=main.cpp process.cpp
out-r=process-r
out-d=process-d
$(out-r):$(code)
	@$(compiler) -o $@ $^
	@echo "编译成功！生成release版本"

$(out-d):$(code)
	@$(compiler) -o $@ $^ -g
	@echo "编译成功！生成debug版本"

.PHONY:clear
clear:
	@rm -f $(out-d) $(out-r)
	@echo "清理成功！"
